/**
 *******************************************************************************
 * @FileName  : pan108x_pwr.h
 * @Author    : GaoQiu
 * @CreateDate: 2023-08-01
 * @Copyright : Copyright(C) Panchip
 *              All Rights Reserved.
 *******************************************************************************
 *
 * The information contained herein is confidential and proprietary property of
 * Panchip and is available under the terms of Commercial License Agreement
 * between Panchip and the licensee in separate contract or the terms described
 * here-in.
 *
 * This heading MUST NOT be removed from this file.
 *
 * Licensees are granted free, non-transferable use of the information in this
 * file under Mutual Non-Disclosure Agreement. NO WARRENTY of ANY KIND is provided.
 *
 *******************************************************************************
 */

#ifndef PAN108X_PWR_H_
#define PAN108X_PWR_H_

#include "utils/defs_types.h"

enum{
	PWR_SleepMode_Standby_M0  = 0x00,
	PWR_SleepMode_Standby_M1  = 0x01,
	PWR_SleepMode_Deep_Sleep  = 0x02,
	PWR_SleepMode_Sleep       = 0x03,
};

void PWR_McuReboot(void);
void PWR_SetDcdcModeEnable(uint8_t en);

uint32_t PWR_SleepStart(uint8_t sleepMode, uint8_t sleepClkSrc, uint32_t sleepTick);

#endif /* PAN108X_PWR_H_ */
